using System;

namespace WindowsPhoneEssentials.Threading
{
    public class BackgroundResult
    {
        public bool HadError { get; set; }
        public Exception Error { get; set; }

        public BackgroundResult()
        {
        }

        public BackgroundResult(Exception exception)
        {
            HadError = true;
            Error = exception;
        }
    }
}